package com.ug_project.dict.engine.indextable

import org.junit.Test

import org.junit.Assert.*

class UtilsKtTest {

    @Test
    fun bit() {
        var bin = 0b0000_0000
        bin = bin.bit(5, true)
        assertEquals(bin.bit(5), true)
        bin = bin.bit(3, true)
        assertEquals(bin.bit(5), true)
        assertEquals(bin.bit(3), true)
        bin.printBits()
        bin = bin.bit(5, false)
        bin = bin.bit(3, false)
        assertEquals(bin.bit(5), false)
        assertEquals(bin.bit(3), false)
    }

    @Test
    fun printBits() {
    }
}